package edu.webtech.project.client;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

import edu.webtech.project.shared.FileDataDTO;

@RemoteServiceRelativePath("fileService")
public interface FileService extends RemoteService {
	
	public String getFileUploadURL() throws IllegalArgumentException;
	
	public List<FileDataDTO> getAllFiles() throws IllegalArgumentException;
	
	public List<FileDataDTO> searchFiles(String fileName, String semesterName, String courseName) 
			throws IllegalArgumentException;
	
	
	
	// Not used
	public void uploadFilesInfo(String fileName, String semesterName, String courseName, String url) throws IllegalArgumentException;

}
